﻿#region

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Reflection;

#endregion

namespace JsMapper.BO
{
    public interface IJsModel
    {
        string Name { get; set; }
        string JsNamespace { get; set; }
        string Url { get; set; }
        List<PropertyInfo> Properties { get; set; }
        PropertyInfo IdProperty { get; set; }
        Dictionary<PropertyInfo, ValidationAttribute[]> Validations { get; set; }
        Dictionary<PropertyInfo, DefaultValueAttribute> DefaultValues { get; set; }
        Type ModelType { get; set; }
    }
}